<?
function cURL($url) {
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_TIMEOUT, 0);
	curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); 
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
	curl_setopt($ch, CURLOPT_URL, $url);
	curl_setopt($ch, CURLOPT_HEADER, 0); 
	curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); 
	$result = curl_exec($ch); 
	curl_close($ch); 
	return $result; 
}
$content = cURL('http://www.badongo.com/audio/'.$_GET['play']);
/*if(preg_match('#songFileSrc","(.*?)"#is',$content,$link))echo $link = urldecode($link[1]);
else $link = 'http://www.badongo.com/play/'.$_GET['play'];
if(!$link) $link = 'http://youtube.com/intro.flv';
header("Location: $link");*/
$link = explode('songFileSrc", "',$content);
$link1 = explode('");',$link[1]);
$link2 = urldecode($link1[0]);
header("Location: $link2");
?>
